package com.appkubes.fintech.admin.application.user.entity.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户基本信息
 *
 * @author xqc.
 * @date 2020/01/01 14:46:28
 */
@Data
public class UserBaseInfoDTO implements Serializable {


    @ApiModelProperty(name = "是否新用户")
    private Integer isNew;
    @ApiModelProperty(name = "年龄")
    private Integer age;
    @ApiModelProperty(name = "性别")
    private Integer sex;
    @ApiModelProperty(name = "来源")
    private String userSource;
    @ApiModelProperty(name = "设备")
    private String userDevice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "创建时间")
    private Date createTime;
    @ApiModelProperty(name = "创建者")
    private String creator;
    @ApiModelProperty(name = "学历")
    private String education;
    @ApiModelProperty(name = "身份证号")
    private String identityNum;
    @ApiModelProperty(name = "手机认证 1为已认证")
    private Byte isPhoneAuthentication;
    @ApiModelProperty(name = "居住城市")
    private String livingCity;
    @ApiModelProperty(name = "居住详细地址")
    private String livingDetail;
    @ApiModelProperty(name = "居住区域")
    private String livingDistrict;
    @ApiModelProperty(name = "居住省")
    private String livingProvince;

    @ApiModelProperty(name = "居住性质")
    private String livingType;

    @ApiModelProperty(name = "居住类型")
    private String housing;

    @ApiModelProperty(name = "婚姻状况")
    private String marriage;
    @ApiModelProperty(name = "手机号码")
    private String phone;
    @ApiModelProperty(name = "真实姓名")
    private String realName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "更新时间")
    private Date updateTime;

    @ApiModelProperty(name = "阿福评分")
    private String compositeScore;

    @ApiModelProperty(name = "阿福等级")
    private String decisionSuggest;


    private Integer portraitStatus;
    private Integer phoneStatus;
    private Integer idcardStatus;

    private String idcardNumber;
    private String userKey;
    private String refUserPhone;
    private String refUserName;
    private String refChannelName;
    private String job;

    private String wechat;
    private String qq;
    private String phoneType;
    private Integer certificate3;
    @ApiModelProperty(name = "身份证正面地址")
    private String idCardFrontView;
    @ApiModelProperty(name = "身份证反面地址")
    private String idCradBackView;

    @ApiModelProperty(name = "运营商信息是否已经获取")
    private Integer isOperatorGet;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date subAuthTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date authTime;

    @ApiModelProperty(name = "风控状态 0申请中 1审批通过 2审批拒绝")
    private Integer creditStatus;
    @ApiModelProperty(name = "风控总额度")
    private Integer creditTotalAmt;

    @ApiModelProperty(name = "风控已用额度")
    private Integer creditFreeAmt;

    @ApiModelProperty(name = "冻结额度")
    private Integer forzenAmount;
    @ApiModelProperty(name = "是否认证")
    private Integer isAllAuth;

    @ApiModelProperty(name = "人脸核身截图")
    private String faceImg;

    @ApiModelProperty(name = "风控审核意见")
    private String remark;

}
